import request from '@/request/index.js'



export function smsSend(data) {
	return request.post({
		url: `/api/sms/send`,
		data
	});
}
export function mobilelogin(data) {
	return request.post({
		url: `/api/user/mobilelogin`,
		data
	});
}

export function toLogin(data) {
	return request.post({
		url: "/api/user/login",
		data: data
	});
}
export function toRegister(data) {
	return request.post({
		url: `/api/user/register`,
		data
	});
}